﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QDT.Common.HttpRequests;

namespace QDT.Web
{
    public class SendMsg
    {
        private const string ServerUrl = "http://58.246.136.11:9999/risk/service.ac";
        public string SendMsbReceiveResp(string xmlTransfer)
        {
            const string url = ServerUrl;
            var request = new HttpPostHanxin(url)
            {
                //不同的接口，接收的类型不一样，要注意
                ContentEncoding = "UTF-8"
            };
            // 翰鑫科技平台接收的参数只有一个
            request.Params.Add(xmlTransfer);
            string result = request.Request();
            //if (string.IsNullOrWhiteSpace(result))
                return result;
        }
    }
}
